<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    //分支语句
    var box=100;
    if(box>=100){
        alert("甲");
    }else if(box>=90){
        alert("乙");
    }else if(box>=80){
        alert("丙");
    }else if(box>=70){
        alert("丁");
    }else if(box>=60){
        alert("及格");
    }else{
        alert("不及格");
    }
</script>
</html>